#include <stdio.h>
#include <stdlib.h>
#include <string.h>


int main()
{
	char* isrunning = getenv("ISRUNNING");
	printf("ISRUNNING=%s\n",isrunning);
	if(isrunning == NULL)
	{
		while(1)
		{
			printf("当前进程首次启动!\n");
			sleep(1);
		}
	}
	else
	{
		printf("当前进程已经运行了,不要再启动了!\n");
	}
	return 0;
}
